import requests
import json

url = 'http://m3.cmcater.tastes.net.cn/cater/facepayinitialize '
data = {
    "biz_content": "{\"apdidToken\":\"gV2YWCCvS3DI71IpKd3kSwPF1xmspY29qrXWjxtGzPoXGQvGcgEAAA\u003d\u003d\","
                   "\"appName\":\"com.alipay.zoloz.smile\",\"appVersion\":\"4.2.2.30\","
                   "\"bioMetaInfo\":\"4.9.0:287358976,32770\","
                   "\"biztid\":\"01010Q106I5XdXWBwnHzAM5IBMdRHrs3Wd2oT0IpfApOT6WLlWpzlfY\","
                   "\"deviceModel\":\"rk3288\",\"deviceType\":\"android\",\"faceSDKInfo\":{\"codeVersion\":\"1.0.0\","
                   "\"maxFaceCount\":0,\"model3DVersion\":\"\",\"modelVersion\":\"\"},\"grayEnv\":\"\","
                   "\"machineInfo\":{\"cameraColorResolution\":\"640*480\",\"cameraDriveVer\":\"RD2507\","
                   "\"cameraModel\":\"AstraP1Pro\",\"cameraName\":\"AstraP1Pro\",\"cameraVer\":\"APAAC910121\","
                   "\"ext\":\"\",\"group\":\"\",\"machineCode\":\"XsSYzPYXzEIDAH4wH8JUO4kp\","
                   "\"machineModel\":\"rk3288\",\"machineVer\":\"7.1.2\",\"sn\":\"5OUB07G7JU\"},\"merchantInfo\":{"
                   "\"alipayStoreCode\":\"TEST\",\"appId\":\"2019092467810308\",\"areaCode\":\"TEST\","
                   "\"brandCode\":\"CM\",\"deviceMac\":\"6003100000077\","
                   "\"deviceNum\":\"01010Q106I5XdXWBwnHzAM5IBMdRHrs3Wd2oT0IpfApOT6WLlWpzlfY\",\"geo\":\"0.000000,"
                   "0.000000\",\"merchantId\":\"865887\",\"partnerId\":\"865887\",\"storeCode\":\"100161\","
                   "\"wifiMac\":\"C0:84:7D:C8:23:08\",\"wifiName\":\"\\\"ChaoMeng_08F\\\"\"},\"osVersion\":\"7.1.2\","
                   "\"remoteLogID\":\"3be347bc8cea4d579c2357267d90afe5258985217\",\"supportedFeatures\":["
                   "\"selAcct\"],\"zimVer\":\"1.0.0\"}",
    "country_code": "86", "vertype": "214", "versions": "M3", "device_id": "6003100000077", "ver": "1.7.0",
    "model": "rk3288", "sv": "7.1.2",
    "token": "MTo5OGFkVEZhM2N5WnpBWkZMTHVGcXJIS0M1UXBpUUdpMW1aVHNWeGRwV3hIa1VEYzo2NWM0OGdRYjFWY2ZFVUJlWUVrazZWNlg2dm9EUjZLR0FqLzBtdVp1TytaRTN3bFlBUEZSSUE\u003d",
    "suid": "100161", "storeid": 100161, "role_login": 0, "sid": "4834c6f6b91801ddd1d46e3165da9654", "uid": 865887,
    "operator": 865887, "device_token": "2137eb81c6af6ed4e059bc6cdf8e2554dd3c08ec"}

response = requests.post(url, data=data)
print(response.status_code)
# result = response.json()
# print(json.dumps(result, indent=4, ensure_ascii=False, sort_keys=','))
